gen-variants-mask seed number symbol-pattern mask-pattern
Use this to create a sequence of number variants each of which is the product of random masking.
(gen-variants-mask 0.12 1 '(a c s d e f e r) '(x x =))
--> (a c s d e f e r a c s d = f e r)
As with other gen-variant functions the symbol-pattern 'theme' is placed at the head of the output. Should you wish to remove this, use the nthcdr function:
(setq mel3 (nthcdr 4 (gen-variants-mask nil 2 '(a b c d e f g))))